Repository navigation
fix(cla): store signatures as {"signedContributors": []} - #43
Conversation
signatures/cla.json held a bare JSON array ([]), but the CLA Assistant action reads `claFileContent.signedContributors` and crashes with "Cannot read properties of undefined (reading 'some')" whenever a non-allowlisted committer opens a PR (e.g. #15, authored by bhanuprasad14). Store the object shape the action writes and expects so the check reports unsigned CLAs instead of crashing.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 52 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Reviewer's GuideData structuresChange the CLA signatures file to the object shape expected by the CLA Assistant action.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
signatures/cla.jsonholds a bare JSON array ([]), but the CLA Assistant action (contributor-assistant/[email protected],setupClaCheck.ts:121) readsclaFileContent.signedContributorsand crashes withCannot read properties of undefined (reading 'some')whenever a non-allowlisted committer opens a PR.That is why #15's
CLAssistantcheck fails deterministically (old head, new head, and re-run): its commits are bybhanuprasad14, who is not in the allowlist. The action reads this file frommain, so the fix has to land here first.After this lands, #15's check will fail legitimately (unsigned CLA) until
bhanuprasad14signs, instead of crashing.Summary by Sourcery
Bug Fixes: